package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 货车车队表 huochedui
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Huochedui extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 货车车队信息ID */
	@Excel(name = "手机号码")
	private Integer huocheduiId;
	/** 车队长 */
	private Integer huiYuanId;
	/** 司机ID */
	private Integer siJiId;
	/** 车辆状态 */
	@Excel(name = "车辆状态", readConverterExp = "0=正常,1=停用")
	private Integer status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	private String attribute;

	public void setHuocheduiId(Integer huocheduiId) 
	{
		this.huocheduiId = huocheduiId;
	}

	public Integer getHuocheduiId() 
	{
		return huocheduiId;
	}
	public void setHuiYuanId(Integer huiYuanId) 
	{
		this.huiYuanId = huiYuanId;
	}

	public Integer getHuiYuanId() 
	{
		return huiYuanId;
	}
	public void setSiJiId(Integer siJiId) 
	{
		this.siJiId = siJiId;
	}

	public Integer getSiJiId() 
	{
		return siJiId;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("huocheduiId", getHuocheduiId())
            .append("huiYuanId", getHuiYuanId())
            .append("siJiId", getSiJiId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
